# tuple.py
patient = ('2012011','Eric Zhang','male',77,True,(67,22,78))
print(type(patient),patient)
print(len(patient))
print(patient[1:4])
print(patient.count(True))
print(True in patient)
print(max((1,3,5)))
print((1,2)+(2,3)+(4,)) # (4,)是告诉解释器，这是由一个元素组成的元组，而不是由括号括起来的整数4
print((1,2)*5)
